package com.ss.project.xia17user.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.ss.project.xia17user.config.sys.ConfigKey;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 系统配置
 * @author xia17
 * @date 2020/9/21 17:30
 */
@Getter
@Setter
@NoArgsConstructor
@TableName("sys_config")
public class Config {

    /** 客户端编号 */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    @EnumValue
    @TableField("`key`")
    private ConfigKey key;

    @TableField("`value`")
    private String value;

    private String type;

    private String sort;

    private LocalDateTime updateTime;

    private String updateBy;

}
